package other;

public class Node {
    //数据域
    public int data;

    //指针域，指向下一个节点
    public Node next;

    public Node(){ }

    public Node(int data){
        this.data = data;
    }

    public Node(int data,Node next){
        this.data = data;
        this.next = next;
    }

}


